package com.faithbj.common.model.fm;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 家庭成员就业情况
 * 
 * @author XiaoQuan
 * 
 */
@Entity
@Table(name = "fm_employment")
public class Employment extends FamilyMemberEntity {

	private static final long serialVersionUID = -6971406641244297294L;
	// 就业状态
	private String employStatus;
	// 工作单位
	private String company;
	// 单位所属类别
	private String companyType;
	// 单位所属行业
	private String companyIndustry;
	// 报告就业状态起始年月
	private Date startDateEmployStatus;
	// 报告就业状态截至年月
	private Date endDateEmployStatus;

	@Column(name = "employ_status", nullable = false)
	public String getEmployStatus() {
		return employStatus;
	}

	public void setEmployStatus(String employStatus) {
		this.employStatus = employStatus;
	}

	@Column(name = "company", length = 80)
	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	@Column(name = "company_type")
	public String getCompanyType() {
		return companyType;
	}

	public void setCompanyType(String companyType) {
		this.companyType = companyType;
	}

	@Column(name = "company_industry")
	public String getCompanyIndustry() {
		return companyIndustry;
	}

	public void setCompanyIndustry(String companyIndustry) {
		this.companyIndustry = companyIndustry;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "start_date_employ_status")
	public Date getStartDateEmployStatus() {
		return startDateEmployStatus;
	}

	public void setStartDateEmployStatus(Date startDateEmployStatus) {
		this.startDateEmployStatus = startDateEmployStatus;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "end_date_employ_status")
	public Date getEndDateEmployStatus() {
		return endDateEmployStatus;
	}

	public void setEndDateEmployStatus(Date endDateEmployStatus) {
		this.endDateEmployStatus = endDateEmployStatus;
	}

}
